#!/bin/bash

# 项目名称
PROJECT_NAME="."

# 创建目录结构
mkdir -p ${PROJECT_NAME}/{include/MyProject,src,lib,bin,test}

# 创建文件
touch ${PROJECT_NAME}/include/MyProject/MyClass.h
touch ${PROJECT_NAME}/src/{MyClass.cpp,main.cpp}
touch ${PROJECT_NAME}/test/{test_main.cpp,test_MyClass.cpp}
touch ${PROJECT_NAME}/CMakeLists.txt
touch ${PROJECT_NAME}/README.md

# 输出目录结构
tree ${PROJECT_NAME}